import numpy as np
import torch
import random
import math
import torch.nn.functional as F
import matplotlib.pyplot as plt

dict_test = {'name': 'jjw', 'age': 18, "sex": "boy"}
print(dict_test.get('name'))
print(dict_test.keys())
print(dict_test.values())
print(dict_test.items())

# print(dict_test.name)  # 不能这样调用
print(dict_test['name'])  # 但是可以这样调用
